/**
 * main.ts
 *
 * Bootstraps Vuetify and other plugins then mounts the App`
 */

import * as echarts from 'echarts'

// Composables
import { createApp } from 'vue'

// Echart
import Echarts from 'vue-echarts'

// Plugins
import { registerPlugins } from '@/plugins'

// Components
import App from './App.vue'
// Styles
import 'unfonts.css'

const app = createApp(App)

registerPlugins(app)

// 使用组件
app.component('e-charts', Echarts)
// 全局挂载 echarts
app.config.globalProperties.$echarts = echarts
app.mount('#app')
